package cn.org.service;

import java.util.List;

import cn.org.domain.Person;
import cn.org.domain.Position;

public interface IPositionService {
	 int deleteByPrimaryKey(Integer id);

	    int insert(Position record);

	    int insertSelective(Position record);

	    Position selectByPrimaryKey(Integer id);

	    int updateByPrimaryKeySelective(Position record);

	    int updateByPrimaryKey(Position record);
	    
	    List<Position> getPositionByPerson(Person p);
	    
	    List<Position> getAllPosition();
}
